export const uartModeOptions = [
  {
    label: 'UDP',
    value: 1,
  },
  {
    label: 'Tcp Server',
    value: 2,
  },
  {
    label: 'Tcp Client',
    value: 3,
  },
];

export const uartBaudrateOptions = [
  { label: '300', value: 300 },
  { label: '600', value: 600 },
  { label: '1200', value: 1200 },
  { label: '2400', value: 2400 },
  { label: '4800', value: 4800 },
  { label: '9600', value: 9600 },
  { label: '19200', value: 19200 },
  { label: '38400', value: 38400 },
  { label: '57600', value: 57600 },
  { label: '115200', value: 115200 },
  { label: '230400', value: 230400 },
  { label: '460800', value: 460800 },
];

export const uartDualOpenOptions = [
  { label: '打开', value: 0 },
  { label: '关闭', value: 1 },
];

export const uartSbusOptions = [
  { label: '打开', value: 1 },
  { label: '关闭', value: 0 },
];

export const uartSbusIntervalOptions = [
  { label: '7 ms', value: 7 },
  { label: '14 ms', value: 14 },
  { label: '21 ms', value: 21 },
  { label: '28 ms', value: 28 },
];
